package com.zhouyu.service;

import com.zhouyu.mini.spring.Component;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;

/**
 * @Author: 01195
 * @Date: 2025/9/15 11:29
 * @Description
 */
@Component("zhouyuAspect")
@Aspect
public class ZhouyuAspect {

    @Before("execution(* com.zhouyu.service.UserService.test())")
    public void before(){
        System.out.println("ZhouyuAspect before----------------");
    }
}
